

    <script language="javascript">
	//Grupos de Acesso------------------------------------------------------------------------
	$(document).ready(function(){ 
	
			//Indicando grupos de acesso
			$(".loja").val([<?php echo $info['grupoLojasMarcados']; ?>]);
			
			$("[name='grupoAcesso'][value='"+<?php echo $info['grupoAcesso']; ?>+"'][type=radio]").attr("checked",true);

			
	});

	</script>



<div class="grid_16">
<form name="formUsuario" id="formLembrete" action="usuario.php?acao=salvar">


<fieldset class="login">
	
        <legend>Usuário do Sistema</legend>
               
           <div class="grid_7">Nome</div>    
           <div class="grid_3">Usuário</div>    
           <div class="grid_3">Senha</div>    
           <div class="grid_3">Confirmação de senha</div>    
           
           <div class="grid_7">
           		<span class="CaptionEsq">
             		<input name="nome" type="text" id="nome" tabindex="1" size="50" maxlength="100" required="required"   class="formulario" />
           		</span>
           </div>   
           
           <div class="grid_3"><span class="CaptionEsq">
             <input name="usuario" type="text" id="usuario" tabindex="1" size="20" maxlength="100" required="required"   class="formulario" />
           		</span>
           </div>   
            <div class="grid_3"><span class="CaptionEsq">
             <input name="senha" type="password" id="senha" tabindex="1" size="20" maxlength="100" required="required"   class="formulario" />
           		</span>
           </div>   
            <div class="grid_3"><span class="CaptionEsq">
             <input name="confirmacaoSenha" type="password" id="confirmacaoSenha" tabindex="1" size="20" maxlength="100" required="required"   class="formulario" />
           		</span>
           </div>   
           
           
           <div class="grid_16">Grupos de Acesso</div>
		   <div class="grid_16"><?php echo $info['gruposAcesso']; ?></div>
           <div class="grid_16">Grupos de Filiais</div>
		   <div class="grid_16"><?php echo $info['grupoLojas']; ?></div>
  		   
           <p align="center">&nbsp;</p>
           <p align="center"><span class="CaptionEsq">
             <input name="codigoUsuario" type="hidden" id="codigoUsuario"  size="30" maxlength="10" class="formulario" value="<?php echo $info['codigoUsuario']; ?>"  />
           </span>
             <input type="submit" id="salvarUsuario" name="salvarUsuario" value="Salvar"/>
           </p>
</fieldset>  

</form>  
</div>

    